﻿import request from '/@/utils/request';
enum Api {
  Addcar_color2 = '/api/car_color2/add',
  Deletecar_color2 = '/api/car_color2/delete',
  Updatecar_color2 = '/api/car_color2/update',
  Pagecar_color2 = '/api/car_color2/page',
}

// 增加颜色
export const addcar_color2 = (params?: any) =>
	request({
		url: Api.Addcar_color2,
		method: 'post',
		data: params,
	});

// 删除颜色
export const deletecar_color2 = (params?: any) => 
	request({
			url: Api.Deletecar_color2,
			method: 'post',
			data: params,
		});

// 编辑颜色
export const updatecar_color2 = (params?: any) => 
	request({
			url: Api.Updatecar_color2,
			method: 'post',
			data: params,
		});

// 分页查询颜色
export const pagecar_color2 = (params?: any) => 
	request({
			url: Api.Pagecar_color2,
			method: 'post',
			data: params,
		});


